package com.cake.dao;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxAdminRoleKey;

public interface XxAdminRoleMapper extends IBaseDao<XxAdminRoleKey>{
    int deleteByPrimaryKey(XxAdminRoleKey key);

    int insert(XxAdminRoleKey record);

    int insertSelective(XxAdminRoleKey record);
    
    /**
     * 删除后台操作人员的角色
     * @param adminId
     * @return
     */
    Integer delectAdminRolesByAdminId(Long adminId);
}